package com.example.liangxiao.testoom;

import android.content.Context;
import android.widget.TextView;

/**
 * Created by liangxiao on 2017/7/17.
 */

public class testHelper {
    private Context context;
    private TextView textView;

    private static testHelper ourInstance = null;

    public static testHelper getInstance(Context context){
        if (ourInstance == null){
            ourInstance = new testHelper(context);
        }
        return ourInstance;
    }

    public void setTextView(TextView textView){
        this.textView = textView;
        textView.setText(context.getString(R.string.ok));
    }

    private testHelper(){

    }

    private testHelper(Context context){
        this.context = context;
    }


}
